package com.dxy.bean;


import java.sql.Timestamp;

/**
 * @author DELL
 */
public class Courier {

  private int  id;
  private String username;
  private String userPhone;
  private String icCard;
  private String password;
  private String sendTheNumber;
  private int status;
  private Timestamp registeredTime;
  private Timestamp loginTime;

  public Courier() {
  }

  public Courier(int id, String username, String userPhone, String icCard, String password, String sendTheNumber, int status, Timestamp registeredTime, Timestamp loginTime) {
    this.id = id;
    this.username = username;
    this.userPhone = userPhone;
    this.icCard = icCard;
    this.password = password;
    this.sendTheNumber = sendTheNumber;
    this.status = status;
    this.registeredTime = registeredTime;
    this.loginTime = loginTime;
  }

  public Courier(String username, String userPhone, String icCard, String password) {
  this.username=username;
  this.userPhone=userPhone;
  this.icCard=icCard;
  this.password=password;
  }

  public Courier(int id, String username, String userPhone, String password, String icCard, String sendTheNumber, Timestamp registeredTime, Timestamp loginTime, int status) {
    this.id = id;
    this.username = username;
    this.userPhone = userPhone;
    this.icCard = icCard;
    this.password = password;
    this.sendTheNumber = sendTheNumber;
    this.status = status;
    this.registeredTime = registeredTime;
    this.loginTime = loginTime;
  }

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getUserPhone() {
    return userPhone;
  }

  public void setUserPhone(String userPhone) {
    this.userPhone = userPhone;
  }

  public String getIcCard() {
    return icCard;
  }

  public void setIcCard(String icCard) {
    this.icCard = icCard;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public String getSendTheNumber() {
    return sendTheNumber;
  }

  public void setSendTheNumber(String sendTheNumber) {
    this.sendTheNumber = sendTheNumber;
  }

  public int getStatus() {
    return status;
  }

  public void setStatus(int status) {
    this.status = status;
  }

  public Timestamp getRegisteredTime() {
    return registeredTime;
  }

  public void setRegisteredTime(Timestamp registeredTime) {
    this.registeredTime = registeredTime;
  }

  public Timestamp getLoginTime() {
    return loginTime;
  }

  public void setLoginTime(Timestamp loginTime) {
    this.loginTime = loginTime;
  }

  @Override
  public String toString() {
    return "Courier{" +
            "id=" + id +
            ", username='" + username + '\'' +
            ", userPhone='" + userPhone + '\'' +
            ", icCard='" + icCard + '\'' +
            ", password='" + password + '\'' +
            ", sendTheNumber='" + sendTheNumber + '\'' +
            ", status='" + status + '\'' +
            ", registeredTime=" + registeredTime +
            ", loginTime=" + loginTime +
            '}';
  }
}
